Around 7000 BC, villages appeared along the Yellow River in northern China, and, a little later, at the mouth of the Yangtze river further south. The first grew millet and raised pigs, the latter cultivated rice. Farming spread throughout China and by 2500 BC stratified societies had evolved in some regions, notably the east, marked by fortified settlements. From these foundations, the first Chinese civilization would soon emerge.